//package com.bw.kylin1705f.exception;
//
//
//import com.bw.kylin1705f.vo.ResultEntity;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.stereotype.Component;
//import org.springframework.web.bind.annotation.ControllerAdvice;
//import org.springframework.web.bind.annotation.ExceptionHandler;
//
//@ControllerAdvice
//@Slf4j
//@Component
//public class HadelerExption {
//
//
//    @ExceptionHandler(value = Exception.class)
//    public ResultEntity error(Exception e){
//        log.error("出现异常...",e.getMessage());
//        return ResultEntity.error("服务器异常......",e.getMessage());
//    }
//}
